package cn.com.hatech.blog.module.admin.setting.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @projectName: hatech-blog
 * @package: cn.com.hatech.blog.module.admin.entity
 * @className: Setting
 * @author: xuruikai
 * @description: 系统配置表实体类
 * @date: 2020/1/11 14:27
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "sys_setting")
public class Setting {

    /**
     * 必须：ID唯一标识 @GeneratedValue 动态生成UUID策略
     */
    @TableId
    @TableField("name")
    private String name;

    @TableField("value")
    private String value;

    @TableField("description")
    private String description;

}